package com.yunxi.model.order;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 经销商车辆库存
 * </p>
 *
 * @author Guan
 * @since 2019-05-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PmsVehicleStock对象", description="经销商车辆库存")
public class PmsVehicleStock implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "VEHICLE_ID", type = IdType.UUID)
    private String vehicleId;

    @ApiModelProperty(value = "VIN码")
    @TableField("VIN")
    private String vin;

    @ApiModelProperty(value = "渠道CODE")
    @TableField("PARTNER_CODE")
    private String partnerCode;

    @ApiModelProperty(value = "仓库代码")
    @TableField("STORAGE_CODE")
    private String storageCode;

    @ApiModelProperty(value = "库位代码")
    @TableField("STORAGE_LOCATION")
    private String storageLocation;

    @ApiModelProperty(value = "开始时间")
    @TableField("START_DATE")
    private String startDate;

    @ApiModelProperty(value = "预计保养时间")
    @TableField("MAINTAIN_DATE")
    private String maintainDate;

    @ApiModelProperty(value = "取消原因")
    @TableField("INFO")
    private String info;

    @ApiModelProperty(value = "创建时间")
    @TableField(value = "CREATE_DATE",fill = FieldFill.INSERT)
    private Date createDate;

    @ApiModelProperty(value = "创建人")
    @TableField(value = "CREATE_BY",fill = FieldFill.INSERT)
    private String createBy;

    @ApiModelProperty(value = "修改时间")
    @TableField(value = "UPDATE_DATE",fill = FieldFill.UPDATE)
    private Date updateDate;

    @ApiModelProperty(value = "修改人")
    @TableField(value = "UPDATE_BY",fill = FieldFill.UPDATE)
    private String updateBy;

    @ApiModelProperty(value = "状态1启用0禁用")
    @TableField("STATUS")
    private Integer status;

    @ApiModelProperty(value = "是否删除")
    @TableField("IS_DEL")
    private Integer isDel;

    @ApiModelProperty(value = "备注")
    @TableField("MEMO")
    private String memo;

    @ApiModelProperty(value = "车辆是否冻结(1是0否)")
    @TableField("VEHICLE_IS_FROZEN")
    private String vehicleIsFrozen;

    @ApiModelProperty(value = "库存状态(DealerVehicleStock_InventoryStatus,0在途,1在库,2出库,3租赁中)")
    @TableField("STORAGE_STATUS")
    private Integer storageStatus;

    @ApiModelProperty(value = "入库日期")
    @TableField("IN_STOCK_DATE")
    private Date inStockDate;

    @ApiModelProperty(value = "出库日期")
    @TableField("OUT_STOCK_DATE")
    private Date outStockDate;

}
